import java.util.ArrayList;


public class Task {
	
	public int period;
	public int bcet;
	public int wcet;
	ArrayList<Job> jobs = new ArrayList<Job>();
	private static int worstcase_response;
	
	Task(int period, int bcet, int wcet) {
		this.period = period; 
		this.bcet = bcet;
		this.wcet = wcet;
		
		
	}

	//TODO: Shall be in constructor
	private void addjob(Job job) {
		this.jobs.add(job);
	}

	
	public static void setWorstcase_response(int worstcase_response) {
		Task.worstcase_response = worstcase_response;
	}

	public static int getWorstcase_response() {
		return worstcase_response;
	}
	
}
